#include <iostream>
#include <string>
#include "/home/yang/work/PLCC/plcc/net/Socket.h"

using namespace std;

int main() {
  Socket s;
  s.set_type(SOCK_STREAM);
  s.set_family(AF_INET);
  cout << "open " <<  s.Getfd() << endl;
//  cout << "close " << s.Close() << endl;

  Socket s1(AF_INET,  SOCK_STREAM);
  cout << "open " << s1.Getfd() << endl;
//  cout << "close " << s1.Close() << endl;

  Socket s2(AF_INET,  SOCK_STREAM);
  cout << "open " << s2.Getfd() << endl;
//  cout << "close " << s2.Close() << endl;
}
